<div class="sui-form form-horizontal">
    <p>
        <input type="text" name="identity" ng-model="identity" class="input-xlarge" placeholder="api英文标志">
        <button class="sui-btn btn-small btn-primary" ng-click="pageData()">搜索</button>
    </p>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th width="10%">
                    <!-- <button  class="sui-btn btn-small btn-success" ng-click="allCheckedAll(selectAll)" type="checkbox" ng-model="selectAll">全选</button> -->
                    <!--  <input ng-show="items.length>0" type="checkbox"  ng-click="allCheckedAll(selectAll)">全选 -->
                </th>
                <th>{{'Name'| translate}}</th>
                <th>{{'sign'| translate}}</th>
                <!-- <th></th> -->
                <th width="50%">{{'动作'| translate}}</th>
                <th>{{'备注'| translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="(key,item) in items">
                <td>
                    <label>
                        <input type="checkbox" name="rs_a_{{item.name}}" checklist-model="choseapis" checklist-value="newitems[item.name]" ng-change="check(item, checked)">{{item.resource_id}}
                    </label>
                </td>
                <td nowrap>{{item.name}}</td>
                <td nowrap>{{item.identity}}</td>
                <!-- <td> -->
                <!-- <span ng-show="item.action"><input type="checkbox" ng-model="type" ng-change="allcheck(item,type)">全选/取消</span> -->
                <!-- </td> -->
                <td>
                    <label class="resourceFieldValueLable span2" ng-repeat="ff in item.action">
                        <input type="checkbox" name="rs_b_{{item.name}}" checklist-model="choseapi[item.name]" checklist-value="ff">{{ff}}
                    </label>
                </td>
                <td>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- {{chosedId|json}}<br>
    {{chosedFeilds|json}}<br>
    {{chosedValues}} -->
    <!-- 分页start -->
    <pager page-no="1" page-size="pageSize" total="itemsTotal" get-data="pageData(pageNo)"></pager>
    <!-- 分页end -->
    <div style="clear:both;"></div>
</div>